package com.lianzheng.model;

/*
 *  Created on Wed May 09 22:11:33 CST 2012
 *
 */
import java.io.Serializable;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.EqualsBuilder;

/**
 * TbDocVideoaudiodetailinfo Base Java Bean
 * 
 * This class is the base class for the model
 * 
 */
 
public class TbDocVideoaudiodetailinfo extends com.lianzheng.model.BaseObject implements Serializable {

    protected String detailid;
	protected String id;
	protected String title;
	protected String describe;
	protected String insertuser;
	protected java.util.Date inserttime;
	protected String verifyer;
	protected java.util.Date verifytime;
	protected String videoaudioflag;
	protected java.math.BigDecimal readtimes;
	protected String status;
	protected String fileurl;
	protected String imageurl;
	protected String verifycomment;
	protected com.lianzheng.model.TbDocVideoaudioinfo tbDocVideoaudioinfo;	


  /**
	*
	* Default Empty Constructor for class TbDocVideoaudiodetailinfo
	*
	*/
	public TbDocVideoaudiodetailinfo () {
		super();
	}
	
  /**
	*
	* Default All Fields Constructor for class TbDocVideoaudiodetailinfo
	*
	*/
	public TbDocVideoaudiodetailinfo (
		 String in_detailid
		,String in_id
		,String in_title
		,String in_describe
		,String in_insertuser
		,java.util.Date in_inserttime
		,String in_verifyer
		,java.util.Date in_verifytime
		,String in_videoaudioflag
		,java.math.BigDecimal in_readtimes
		,String in_status
		,String in_fileurl
		,String in_imageurl
		,String in_verifycomment
        ) {
		this.setDetailid(in_detailid);
		this.setId(in_id);
		this.setTitle(in_title);
		this.setDescribe(in_describe);
		this.setInsertuser(in_insertuser);
		this.setInserttime(in_inserttime);
		this.setVerifyer(in_verifyer);
		this.setVerifytime(in_verifytime);
		this.setVideoaudioflag(in_videoaudioflag);
		this.setReadtimes(in_readtimes);
		this.setStatus(in_status);
		this.setFileurl(in_fileurl);
		this.setImageurl(in_imageurl);
		this.setVerifycomment(in_verifycomment);
    }

	
	public com.lianzheng.model.TbDocVideoaudioinfo getTbDocVideoaudioinfo () {
	// instantiate a new association entity if it is null
		if (tbDocVideoaudioinfo == null) {
			tbDocVideoaudioinfo = new com.lianzheng.model.TbDocVideoaudioinfo ();
		}
		return tbDocVideoaudioinfo;
	}	
	
	public void setTbDocVideoaudioinfo (com.lianzheng.model.TbDocVideoaudioinfo in_tbDocVideoaudioinfo) {
		this.tbDocVideoaudioinfo = in_tbDocVideoaudioinfo;
	}
    
  /**
	*
	* @return String
	*/
	public String getDetailid() {
		return this.detailid;
	}
	
  /**
	* Set the detailid
	*/	
	public void setDetailid(String aValue) {
		this.detailid = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getId() {
		return this.getTbDocVideoaudioinfo().getId();
	}
	
  /**
	* Set the id
	*/	
	public void setId(String aValue) {
		this.getTbDocVideoaudioinfo().setId(aValue);
	}	
  /**
	*
	* @return String
	*/
	public String getTitle() {
		return this.title;
	}
	
  /**
	* Set the title
	*/	
	public void setTitle(String aValue) {
		this.title = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getDescribe() {
		return this.describe;
	}
	
  /**
	* Set the describe
	*/	
	public void setDescribe(String aValue) {
		this.describe = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getInsertuser() {
		return this.insertuser;
	}
	
  /**
	* Set the insertuser
	*/	
	public void setInsertuser(String aValue) {
		this.insertuser = aValue;
	}	
  /**
	*
	* @return java.util.Date
	*/
	public java.util.Date getInserttime() {
		return this.inserttime;
	}
	
  /**
	* Set the inserttime
	*/	
	public void setInserttime(java.util.Date aValue) {
		this.inserttime = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getVerifyer() {
		return this.verifyer;
	}
	
  /**
	* Set the verifyer
	*/	
	public void setVerifyer(String aValue) {
		this.verifyer = aValue;
	}	
  /**
	*
	* @return java.util.Date
	*/
	public java.util.Date getVerifytime() {
		return this.verifytime;
	}
	
  /**
	* Set the verifytime
	*/	
	public void setVerifytime(java.util.Date aValue) {
		this.verifytime = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getVideoaudioflag() {
		return this.videoaudioflag;
	}
	
  /**
	* Set the videoaudioflag
	*/	
	public void setVideoaudioflag(String aValue) {
		this.videoaudioflag = aValue;
	}	
  /**
	*
	* @return java.math.BigDecimal
	*/
	public java.math.BigDecimal getReadtimes() {
		return this.readtimes;
	}
	
  /**
	* Set the readtimes
	*/	
	public void setReadtimes(java.math.BigDecimal aValue) {
		this.readtimes = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getStatus() {
		return this.status;
	}
	
  /**
	* Set the status
	*/	
	public void setStatus(String aValue) {
		this.status = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getFileurl() {
		return this.fileurl;
	}
	
  /**
	* Set the fileurl
	*/	
	public void setFileurl(String aValue) {
		this.fileurl = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getImageurl() {
		return this.imageurl;
	}
	
  /**
	* Set the imageurl
	*/	
	public void setImageurl(String aValue) {
		this.imageurl = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getVerifycomment() {
		return this.verifycomment;
	}
	
  /**
	* Set the verifycomment
	*/	
	public void setVerifycomment(String aValue) {
		this.verifycomment = aValue;
	}	
   /**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		if (!(object instanceof TbDocVideoaudiodetailinfo)) {
			return false;
		}
		TbDocVideoaudiodetailinfo rhs = (TbDocVideoaudiodetailinfo) object;
		return new EqualsBuilder()
				.append(this.detailid, rhs.detailid)
						.append(this.title, rhs.title)
				.append(this.describe, rhs.describe)
				.append(this.insertuser, rhs.insertuser)
				.append(this.inserttime, rhs.inserttime)
				.append(this.verifyer, rhs.verifyer)
				.append(this.verifytime, rhs.verifytime)
				.append(this.videoaudioflag, rhs.videoaudioflag)
				.append(this.readtimes, rhs.readtimes)
				.append(this.status, rhs.status)
				.append(this.fileurl, rhs.fileurl)
				.append(this.imageurl, rhs.imageurl)
				.append(this.verifycomment, rhs.verifycomment)
				.isEquals();
	}
	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return new HashCodeBuilder(-82280557, -700257973)
				.append(this.detailid) 
						.append(this.title) 
				.append(this.describe) 
				.append(this.insertuser) 
				.append(this.inserttime) 
				.append(this.verifyer) 
				.append(this.verifytime) 
				.append(this.videoaudioflag) 
				.append(this.readtimes) 
				.append(this.status) 
				.append(this.fileurl) 
				.append(this.imageurl) 
				.append(this.verifycomment) 
				.toHashCode();
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return new ToStringBuilder(this)
				.append("detailid", this.detailid) 
						.append("title", this.title) 
				.append("describe", this.describe) 
				.append("insertuser", this.insertuser) 
				.append("inserttime", this.inserttime) 
				.append("verifyer", this.verifyer) 
				.append("verifytime", this.verifytime) 
				.append("videoaudioflag", this.videoaudioflag) 
				.append("readtimes", this.readtimes) 
				.append("status", this.status) 
				.append("fileurl", this.fileurl) 
				.append("imageurl", this.imageurl) 
				.append("verifycomment", this.verifycomment) 
				.toString();
	}

	
}